package com.edu.d2_stream;

public class TopEmployee {
    /**
     * 优秀员工
     */
    private String name;
    private double moner;

    public TopEmployee() {
    }

    public TopEmployee(String name, double moner) {
        this.name = name;
        this.moner = moner;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getMoner() {
        return moner;
    }

    public void setMoner(double moner) {
        this.moner = moner;
    }

    @Override
    public String toString() {
        return "TopEmployee{" +
                "name='" + name + '\'' +
                ", moner=" + moner +
                '}';
    }
}
